package com.sias;

/**
 * @author 吴文杰
 * @version 1.0
 * @createTime ${YEAR}-${MONTH}-${DAY} $HOUR:$MINUTE:$SECOND
 */
public class Cat {
  private String name="招财猫";

  public Integer age = 20;
  public String sex = "male";
  public Integer price = 500;
  @Override
  public String toString() {
    return "Cat{" +
            "name='" + name + '\'' +
            ", age=" + age +
            '}';
  }

  public Cat() {
  }

  public Cat(String name, Integer age) {
    this.name = name;
    this.age = age;
  }

  public void hi(){
    // System.out.println("hi"+name);
  }

  public void cry(){
    System.out.println(name+"喵喵叫");
  }
}